package cn.hd.service.impl;

import cn.hd.dao.CreatpersonDao;
import cn.hd.entity.Creatperson;
import cn.hd.service.CreatpersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class CreatpersonImpl implements CreatpersonService {
    @Autowired
    private CreatpersonDao creatpersonDao;

    @Override
    public int addCreatperson(Creatperson creatperson) {
        return creatpersonDao.addCreatperson(creatperson);
    }
}
